package ch.zbw.sysventory.server.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import ch.zbw.sysventory.server.model.Printer;

@Repository
public interface PrinterRepository extends JpaRepository<Printer, Long>, JpaSpecificationExecutor<Printer> {

	public abstract List<Printer> findByNameAndDriverAndDriverVersion(String name, String driver, String driverVersion);

}
